package com.baizhi.shane.shane.service;

import com.baizhi.shane.shane.entity.ShaneCollectAnswer;
import com.baizhi.shane.shane.vo.AnswerUserRelVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wbz12
* @description 针对表【shane_collect_answer(啥呢回答收藏表)】的数据库操作Service
* @createDate 2023-07-25 22:33:37
*/
public interface ShaneCollectAnswerService extends IService<ShaneCollectAnswer> {

    /**
     * 用户收藏回答，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:34 2023/10/4
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String insertOneAnswerCollect(AnswerUserRelVO answerUserRelVO);

    /**
     * 用户取消收藏回答，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:40 2023/10/4
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String deleteOneAnswerCollect(AnswerUserRelVO answerUserRelVO);
}
